
using System.Diagnostics;

namespace Wolfpack.Contrib.Deployment.Exe
{
    public class ProcessLauncher : IProcessLauncher
    {
        public int Launch(ProcessStartInfo startInfo)
        {
            var process = Process.Start(startInfo);
            process.WaitForExit();
            return process.ExitCode;
        }
    }
}